package net.csdn.business.notify.common.model.dto;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;


/**
 * 更新通知中心-业务配置对象DTO notify_business
 * 
 * @author zhangyl
 * @date 2023-11-27
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UpdateNotifyBusinessDTO implements Serializable
{

    private static final long serialVersionUID = 1L;

    /** id */
    @NotNull(message = "id不能为空")
    private Long id;
    /**
     * 通知类型:私信：1；通知类型;2:私信类
     */
    //@NotNull(message = "notifyType不能为空")
    private Integer notifyType=1;
    /**
     * 业务名称
     */
    @NotNull(message = "businessName不能为空")
    private String businessName;
    /**
     * 业务编码
     */
    @NotNull(message = "businessCode不能为空")
    private String businessCode;

    @NotNull(message = "state不能为空")
    private Boolean state;
    /**
     * 业务描述
     */
    private String businessDesc;
    /**
     * 被操作的主体类型
     */
    private String targetType;
    /**
     * 触发的动作
     */
    private String act;
    /**
     * 最后修改人
     */
    //@NotNull(message = "curUserId不能为空")
    private String curUserId;

}
